package com.appsindy.reserv.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.appsindy.reserv.bo.Combo;
import com.appsindy.reserv.bo.Counter;
import com.appsindy.reserv.bo.ShiftControlMap;
import com.appsindy.reserv.bo.ShiftTrans;
import com.appsindy.reserv.bo.ShiftTransDt;
import com.appsindy.reserv.bo.ShiftTransDtMap;
import com.appsindy.reserv.vo.ShiftTransVO;

public interface ShiftControlDAO {
	
	public List<Counter> selectCounter(int orgId);
	public List<Combo> selectShiftTransType(int orgId);
	public List<Combo> selectShiftTransSrcManual(int orgId);
	
	public ShiftTrans selectShiftTransView(int shiftTransId);
	public List<ShiftTransDt> selectShiftTransDetailView(int shiftTransId);
	
    public void executeShiftControl(@Param("parameterMap") ShiftControlMap parameterMap);
    public void insertShiftTrans(@Param("parameterMap") ShiftTrans parameterMap);
    public void insertShiftTransDetail(@Param("parameterMap") ShiftTransDtMap parameterMap);
    public void insertShiftTransDtManual(@Param("parameterMap") ShiftTransDtMap parameterMap);
    public void updateShiftTransDtManual(@Param("parameterMap") ShiftTransDtMap parameterMap);
    public void deleteShiftTransDtManual(@Param("parameterMap") ShiftTransDtMap parameterMap);
    
    public void closeShift(@Param("parameterMap") ShiftTrans parameterMap);
    
    public List<ShiftTransVO> getShiftTrxByDate(Map<String, Object> params);	// yyyy-MM-dd
    
}
